<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <link rel="stylesheet" href="/DBP/style/stylesheet.css" type="text/css" >
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
		
		<!-- Show and Hiding Script -->
	<script type="text/javascript">
	function hideshow(which){
		if (!document.getElementById)
			return
		if (which.style.display=="block")
			which.style.display="none"
			else
			which.style.display="block"
			}
	</script>	

  </head>
  
  <body>
   <div class="bg">
<div class="content" >
<jsp:include page="/nav.jsp" />
	<div class= "pagetitle">Help Center -> Tutorial</div><br/>
		<div class="entrytitle">
			 
			<div class="entry" >
			<h3>How to Create a Poll ?</h3>
			<li>Select<a href="javascript:hideshow(document.getElementById('create'))">  <b>+create new poll</b> </a> from your homepage. </li>
			<div id="create"; style="display: none">
			<img src="/DBP/images/pa/newpoll2.JPG" width="160" height="80"/> <br/> <br/>
			</div>
			<li>Type <a href="javascript:hideshow(document.getElementById('poll'))">  <b> Poll name and Description.</b></a> </li>
			<div id="poll"; style="display: none">
			<img src="/DBP/images/pa/newpoll.JPG" width="320" height="70"/> <br/> <br/>
			</div>
			<li>You can look in <a href="javascript:hideshow(document.getElementById('homepage'))">  <b> the homepage </b></a>that, you already made the poll.</li>
			<div id="homepage"; style="display: none">
			<img src="/DBP/images/pa/newpoll1.JPG" width="500" height="130"/> <br/><br/>
			</div>
			<input type="button" class="button" value="Back" onclick="history.back()" />
			</div>
		</div>
	</div>
</div>
  </body>
</html>
